home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / dvlprstc.hqx / Developer Stack 1.3r / card_4114.txt < prev    next >
Encoding:
Text File  |  1991-04-30  |  1.7 KB  |  50 lines

  1. -- card: 4114 from stack: in.3r
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2612
  5. -- name: CombineFile
  6.  
  7.  
  8. -- part contents for background part 13
  9. ----- text -----
  10. 33
  11.  
  12. -- part contents for background part 2
  13. ----- text -----
  14. CombineFile
  15.  
  16. -- part contents for background part 3
  17. ----- text -----
  18.  
  19. This XCMD will create a TEXT file consisting of all the TEXT files inside a folder.
  20.  
  21. You will be presented with a dialog box asking you to choose a folder where the XCMD can find the files to be combined. It will find all the TEXT files in the folder, as well as all TEXT files in all folders within the folder, and so on down the directory tree.
  22.  
  23. Then you'll be asked for the destination file.  Next the XCMD does the copying, and it's done.
  24.  
  25.  
  26. CombineFiles is copyright 1988 by David S. Fry.  CombineFiles may be distributed in any way.
  27.  
  28. David Fry
  29. 81 Irving Street
  30. Cambridge, MA  02138
  31.  
  32. -- part contents for background part 10
  33. ----- text -----
  34. Syntax:
  35.  
  36. CombineFiles [creator][,integer]
  37.  
  38. CombineFiles accepts two optional parameters.  The first is a creator ID for your destination TEXT file.  For instance, "MSWD" is Microsoft Word, "MACA" is MacWrite, "EDIT" is Edit, etc.  If you don't pass a creator ID parameter, it will assume "MSWD".
  39.  
  40. The second parameter should be an integer.  If the integer is nonzero, the XCMD will add a line separating each file, identifying which file is about to follow.  If the integer is zero, no additional information will be put in the destination file.
  41.  
  42. Examples:
  43. CombineFiles "MACA",1 -- will make file for MacWrite, has file info
  44. CombineFiles                -- will make file for MS-Word, with no file info
  45. CombineFiles "EDIT",0  -- will make file for Edit, has no file info
  46.  
  47.  
  48. -- part contents for background part 30
  49. ----- text -----
  50. XCMD